package com.dlry.web.valid;

import javax.validation.constraints.Size;

public class UserUpdateForm {
	@Size(min = 1, max = 6, message = "真名必须是1到6个汉字")
	private String realName;
	@Size(min = 8, max = 13, message = "电话号码位数不正确")
	private String phoneNumber;

	public void setRealName(String realName) {
		this.realName = realName;
	}

	public String getRealName() {
		return realName;
	}

	public void setPhoneNumber(String phoneNumber) {
		this.phoneNumber = phoneNumber;
	}

	public String getPhoneNumber() {
		return phoneNumber;
	}
}
